﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace LoanCalculationService.Objects
{
    public class Quote
    {
		public int QuoteID;
		public int CustomerID;
		public string PrptyType;
		public decimal PrptySize;
		public int PrptyYearBuilt;
		public string PrptyAddressLine1;
		public string PrptyAddressLine2;
		public string PrptySuburb;
		public string PrptyState;
		public int PrptyPostcode;
		public decimal PrptyValue;
		public decimal LoanAmount;
		public int LoanTerm;
		public decimal LoanIntrest;
		public string LoanInsurance;
		public decimal LoanMRepayment;
		public DateTime QuoteDate;

		public Quote()
		{
		}

		public Quote(
		  int pQuoteID,
		  int pCustomerID,
		  string pPrptyType,
		  decimal pPrptySize,
		  int pPrptyYearBuilt,
		  string pPrptyAddressLine1,
		  string pPrptyAddressLine2,
		  string pPrptySuburb,
		  string pPrptyState,
		  int pPrptyPostcode,
		  decimal pPrptyValue,
		  decimal pLoanAmount,
		  int pLoanTerm,
		  decimal pLoanIntrest,
		  string pLoanInsurance,
		  decimal pLoanMRepayment,
		  DateTime pQuoteDate
		){
			QuoteID=pQuoteID;
			CustomerID=pCustomerID;
			PrptyType=pPrptyType;
			PrptySize=pPrptySize;
			PrptyYearBuilt=pPrptyYearBuilt;
			PrptyAddressLine1=pPrptyAddressLine1;
			PrptyAddressLine2=pPrptyAddressLine2;
			PrptySuburb=pPrptySuburb;
			PrptyState=pPrptyState;
			PrptyPostcode=pPrptyPostcode;
			PrptyValue=pPrptyValue;
			LoanAmount=pLoanAmount;
			LoanTerm=pLoanTerm;
			LoanIntrest=pLoanIntrest;
			LoanInsurance=pLoanInsurance;
			LoanMRepayment=pLoanMRepayment;
			QuoteDate=pQuoteDate;
		}
    }
}
